package com.shupian.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shupian.domain.ResponseResult;
import com.shupian.domain.entity.Menu;

import java.util.List;


/**
 * 菜单权限表(Menu)表服务接口
 *
 * @author makejava
 * @since 2022-08-28 11:13:28
 */
public interface MenuService extends IService<Menu> {

    List<String> selectPermsByUserId(Long id);

    List<Menu> selectRoleKeyByUserId(Long userId);

    ResponseResult getAllMenu();

    ResponseResult getMenuById(Integer id);

    ResponseResult roleMenuTreeselect(Long id);
}

